<template>
  <view class="manage main-box feat-grid">

    <view class="script-item script-item-small">

      <view class="script-item-box fx-row-b">

        <view class="script-item-box-content fx-col-b">
          <view class="script-item-box-content-title fx-row-s">
            <view class="title-name com-overflow">基础信息</view>
          </view>
          <view class="script-item-box-content-author fx-row-b">
            <view class="fx-row-s" style="align-items: end;">
              <view class="script-item-box-content-author-text">店铺名称、联系方式、地址等基础信息修改</view>
            </view>
          </view>
        </view>
        <view class="script-item-box-op">
          <button class="icon-btn-b icon-btn-s2">修改</button>
        </view>
      </view>
    </view>

    <view class="script-item script-item-small mt30">

      <view class="script-item-box fx-row-b">

        <view class="script-item-box-content fx-col-b">
          <view class="script-item-box-content-title fx-row-s">
            <view class="title-name com-overflow">意见反馈</view>
          </view>
          <view class="script-item-box-content-author fx-row-b">
            <view class="fx-row-s" style="align-items: end;">
              <view class="script-item-box-content-author-text">在使用过程中，有任何问题都可以反馈给我们</view>
            </view>
          </view>
        </view>
        <view class="script-item-box-op">
          <button class="icon-btn-b icon-btn-s2" @click="jump('/pagesSetting/mine/feedback')">反馈</button>
        </view>
      </view>
    </view>

    <uv-toast ref="loginToast"></uv-toast>
    <toast></toast>

    <button class="icon-btn-b icon-btn-s1">退出登录</button>
  </view>

</template>


<script setup>
import { reactive, ref,computed} from "vue";
import { ossImage,jump } from '@/utils/index'
import { header,color } from '@/enums/constants';
import { onLoad } from "@dcloudio/uni-app";
import loginApi from "@/apis/login";
import { userStore } from "@/stores";
import qs from "qs";

const store = userStore();
const loginToast = ref(null);

const renderData = {


}

const isReadyLogin=()=>{
  let text = ['请您勾用户选协议','请您输入电话号码','请您输入验证码'];
  let index = undefined;
  if(!isChecked.value){
    index = 0;
  }
  if(!formData.phone){
    index = 1;
  }
  if(!formData.code){
    index = 2;
  }
  if(index === undefined){
    return true;
  }else{
    loginToast.value.show({
      title:text[index],
      type:'warning',
      position:'top'
    })
  }
}


</script>

<style lang="scss" scoped>
.manage {
  background-color: $main-text-e;
  .script-item{
    .script-item-box-content{
      margin-left: 0;
    }
    .script-item-box-content-author-text{
      max-width: 520rpx;
    }
  }


}

</style>
